home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Atlanta_1990 / Atlanta-Devcon.2 / Libraries / Locale / README < prev   
Encoding:
Text File  |  1992-08-26  |  1.2 KB  |  29 lines

  1. (C) Copyright 1990 Commodore-Amiga, Inc.
  2.  
  3. The example locale library on this disk is preliminary. Only the CatOpen(),
  4. CatGets() and CatClose function are currently working. All the other
  5. functions return NULL for now. There is also an example on how to use the
  6. catalogue functions. Check the getmsg.c file.
  7.  
  8. To generate a catalogue, use an editor to put one message per line, ending
  9. each line with a return. (<NL> actually) Thus on line 1 will be message 1, on
  10. line 2 will be message 2, etc. If you wish to insert a newline within the
  11. message, use \n just like in C. Similarly you may use the other C backslash
  12. sequences: \t \v \b \r \f \\ \' \". You may not use \xxx to enter octal
  13. character codes.
  14.  
  15. If you wish, you may use the X/Open compatible catalogue generator, CatGen.
  16. You will then be able to use sets thanks to the $set directive. But be
  17. warned, the CatGen utility provided on this disk is *very* preliminary. An
  18. example CatGen source file is included, "catexample.src". To generate a
  19. catalogue issue:
  20.  
  21.     1> CatGen catexample.src <catalogue>
  22.  
  23. Valentin Pepelea
  24. Commodore-Amiga Inc.
  25. 1200 Wilson Drive
  26. West Chester, PA 19380
  27. (215) 431-9327
  28. UseNet:  cbmvax!valentin@uunet.uu.net
  29.